<?php /* Smarty version Smarty-3.1.6, created on 2013-04-07 10:17:53
         compiled from "/home/zmx/erp2.1/DzhPHP/FrameWork/Tpl/Product/index.tpl" */ ?>
<?php /*%%SmartyHeaderCode:10390085160d751f3c9c9-05321931%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '504ed83946e08e46e7a77f94a6d50e5b9a1c497b' => 
    array (
      0 => '/home/zmx/erp2.1/DzhPHP/FrameWork/Tpl/Product/index.tpl',
      1 => 1364183645,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '10390085160d751f3c9c9-05321931',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'lang' => 0,
    'rand' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_5160d7520e056',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5160d7520e056')) {function content_5160d7520e056($_smarty_tpl) {?><?php if (!is_callable('smarty_function_wz')) include '/home/zmx/erp2.1/DzhPHP/FrameWork/Extend/Vendor/Smarty/plugins/function.wz.php';
if (!is_callable('smarty_function_note')) include '/home/zmx/erp2.1/DzhPHP/FrameWork/Extend/Vendor/Smarty/plugins/function.note.php';
?><?php echo smarty_function_wz(array(),$_smarty_tpl);?>

<form method="POST" action="<?php echo U('Product/index');?>
" id="search_form">
__SEARCH_START__
			<dl>  
				<dt>
					<label><?php echo $_smarty_tpl->tpl_vars['lang']->value['factory_name'];?>
：<input type="hidden" id="rand" name="rand" value="<?php echo $_smarty_tpl->tpl_vars['rand']->value;?>
"></label>
					<input type="hidden" name="main[query][factory_id]" value="<?php echo $_POST['query']['factory_id'];?>
"><input id="factory_name" name="temp[factory_name]" value="<?php echo $_POST['temp']['factory_name'];?>
" url="<?php echo U('/AutoComplete/factoryName');?>
" jqac>
            	</dt> 
				<dt><label><?php echo $_smarty_tpl->tpl_vars['lang']->value['product_no'];?>
：</label>
					<input id="product_no" name="main[like][product_no]" value="<?php echo $_POST['like']['product_no'];?>
" url="<?php echo U('/AutoComplete/productNo');?>
" jqac>
            		</dt>
				<dt><label><?php echo $_smarty_tpl->tpl_vars['lang']->value['product_name'];?>
：</label>
					<input id="product_no" name="main[like][product_name]" value="<?php echo $_POST['like']['product_name'];?>
" url="<?php echo U('/AutoComplete/productName');?>
" jqac>
            	</dt>
            	<dt>
					<label><?php echo $_smarty_tpl->tpl_vars['lang']->value['class_name_1'];?>
：</label>
					<input type="hidden" name="class[query][class_1]" value="<?php echo $_POST['query']['class_1'];?>
"><input id="class_name1" name="temp[class_name1]" value="<?php echo $_POST['temp']['class_name1'];?>
" url="<?php echo U('/AutoComplete/productClass1');?>
" jqac>
				</dt>
				<?php if (C('PRODUCT_CLASS_LEVEL')>=2){?>
				<dt>
					<label><?php echo $_smarty_tpl->tpl_vars['lang']->value['class_name_2'];?>
：</label>
					<input type="hidden" name="class[query][class_2]" value="<?php echo $_POST['query']['class_2'];?>
"><input id="class_name2" name="temp[class_name2]" value="<?php echo $_POST['temp']['class_name2'];?>
" url="<?php echo U('/AutoComplete/productClass2');?>
" jqac> 
				</dt>
				<?php }?>
				<?php if (C('PRODUCT_CLASS_LEVEL')>=3){?>
				<dt>
					<label><?php echo $_smarty_tpl->tpl_vars['lang']->value['class_name_3'];?>
：</label>
					<input type="hidden" name="class[query][class_3]" value="<?php echo $_POST['query']['class_3'];?>
"><input id="class_name3" name="temp[class_name3]" value="<?php echo $_POST['temp']['class_name3'];?>
" url="<?php echo U('/AutoComplete/productClass3');?>
" jqac> 
				</dt>
				<?php }?>
				<?php if (C('PRODUCT_CLASS_LEVEL')>=4){?>
				<dt>
					<label><?php echo $_smarty_tpl->tpl_vars['lang']->value['class_name_4'];?>
：</label>
					<input type="hidden" name="class[query][class_4]" value="<?php echo $_POST['query']['class_4'];?>
"><input id="class_name4" name="temp[class_name4]" value="<?php echo $_POST['temp']['class_name4'];?>
" url="<?php echo U('/AutoComplete/productClass4');?>
" jqac> 
				</dt>
				<?php }?>
				<dt>	<label><?php echo $_smarty_tpl->tpl_vars['lang']->value['product_pics'];?>
：</label>
            		<?php echo smarty_function_select(array('data'=>C('YES_NO'),'name'=>"pics",'value'=>$_POST['pics'],'combobox'=>1),$_smarty_tpl);?>

				</dt>
            	<dt>	<label><?php echo $_smarty_tpl->tpl_vars['lang']->value['state'];?>
：</label>
            		<?php echo smarty_function_select(array('data'=>C('BASICSTATE'),'name'=>"main[query][to_hide]",'value'=>($_POST['query']['to_hide']),'initvalue'=>"1",'combobox'=>1),$_smarty_tpl);?>

				</dt>
			</dl> 
__SEARCH_END__
</form> 
<?php echo smarty_function_note(array('export'=>true),$_smarty_tpl);?>

<div id="print" class="width98">
<?php echo $_smarty_tpl->getSubTemplate ("Product/list.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

</div>  <?php }} ?>